package com.byxx.gtz.devicemonitoringsysejb.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Users entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "USERS", schema = "DEVICE_FSX")

public class Users implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String userId;
	private String userNo;
	private String userPwd;
	private String userName;
	private String userAuth;

	// Constructors

	/** default constructor */
	public Users() {
	}

	/** minimal constructor */
	public Users(String userId) {
		this.userId = userId;
	}

	/** full constructor */
	public Users(String userId, String userNo, String userPwd, String userName, String userAuth) {
		this.userId = userId;
		this.userNo = userNo;
		this.userPwd = userPwd;
		this.userName = userName;
		this.userAuth = userAuth;
	}

	// Property accessors
	@Id

	@Column(name = "USER_ID", unique = true, nullable = false, length = 36)

	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	@Column(name = "USER_NO", length = 36)

	public String getUserNo() {
		return this.userNo;
	}

	public void setUserNo(String userNo) {
		this.userNo = userNo;
	}

	@Column(name = "USER_PWD", length = 36)

	public String getUserPwd() {
		return this.userPwd;
	}

	public void setUserPwd(String userPwd) {
		this.userPwd = userPwd;
	}

	@Column(name = "USER_NAME", length = 36)

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	@Column(name = "USER_AUTH", length = 36)

	public String getUserAuth() {
		return this.userAuth;
	}

	public void setUserAuth(String userAuth) {
		this.userAuth = userAuth;
	}

}